import request from '../utils/request';

export const sysLogPage = query => {
    return request({
        url: '/sysLog/page',
        method: 'get',
        params: query
    });
};

export const sysLogCount = query => {
    return request({
        url: '/sysLog/count',
        method: 'get',
        params: query
    });
};

export const sysLogCountDate = query => {
    return request({
        url: '/sysLog/countDate',
        method: 'get',
        params: query
    });
};

export const delSysLog = data => {
    return request({
        url : '/sysLog/delete/' + data,
        method: 'delete'
    });
};